#!/bin/sh


cat >/etc/tinc/${netname}/invitation-created << \EOF
Name = $NODE
Interface = tinctun
AddressFamily = ipv4
Mode = switch
ConnectTo = $NAME
Compression=9
Cipher = aes-256-cbc
Digest = sha256
PrivateKeyFile=/etc/tinc/tincnet/rsa_key.priv
#---------------------#
EOF
